const mongoose = require('mongoose')

// 用户表
const Schema = mongoose.Schema
const UserSchema = new Schema({
    user: {
        type: String,
        required: true
    },
    pass: {
        type: String,
        required: true
    },
    check: {
        type: String,
        required: true
    },
    email: {
        type: String,
        required: false
    },
    iphone: {
        type: Number,
        required: true
    },
    timeStamp: {
        type: String,
        required: true
    }
})

module.exports = mongoose.model('User', UserSchema)